package com.xy.annotaion.handler.initializer;

import com.xy.annotaion.handler.common.log.LogService;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * spring的 ，要在spring.factories 中配置
 *
 * @author Dell
 */
public class TestApplicationContextInitializerImpl implements ApplicationContextInitializer, LogService {

    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {
        log(applicationContext);
    }
}
